
#ifndef PARABOLA_HPP_
#define PARABOLA_HPP_

#include <math.h>

class Parabola {
public:
	Parabola();
	Parabola(int x1, int y1, int x2, int y2, int x3, int y3);
	virtual ~Parabola();
	double calc(int x);
	void setNewParabola(int x1, int y1, int x2, int y2, int x3, int y3);

private:
	double A,B,C;
	void constructor(int x1, int y1, int x2, int y2, int x3, int y3);
};

#endif /* PARABOLA_HPP_ */
